FROM  openjdk:8-jre
ENV APP_PATH=/apps
WORKDIR $APP_PATH
ADD *.jar $APP_PATH/app.jar
EXPOSE 8888
# 执行命令
ENTRYPOINT ["java","-jar"]
CMD ["app.jar"]
# mvn clean package spring-boot:repackage